package com.laosg.study.base.ch4

/**
  * Created by kaimin on 8/5/2019.
  * time : 08:29
  */
object TypeConvertDemo {
  def main(args: Array[String]): Unit = {
    println(classOf[String])


    val name="123";
    println(name.isInstanceOf[String])
    println(name.getClass.getName)
    println(name.asInstanceOf[Int])
  }

}
